{% extends "admin/login.html" %}

{% block login_content %}
    <br>
    <p id="errornote">注销成功，即将跳转到登录页面...</p>
    <br>

    <form action="{{ app_path }}" method="post" id="login-form">
        {% csrf_token %}
        <div class="submit-row">
            <input type="submit" value="立刻重新登录" class="button_blue"/>
        </div>
    </form>

    <script type="text/javascript">
        window.onload = function () {
            setTimeout(function () {
                document.getElementById("login-form").submit();
            }, 2000);
        }
    </script>
{% endblock %}
